Hot wire CNC foam cutter